import request from '@/utils/request'

//列表
export function sspslot_list(params) {
    return request({
        url: '/v1/slot/list',
        method: 'get',
        params
    })
}
//详情
export function sspslot_info() {
    return request({
        url: '/v1/slot/info',
        method: 'get'
    })
}
//添加
export function sspslot_add(data) {
    return request({
        url: '/v1/slot/add',
        method: 'post',
        data
    })
}
//修改
export function sspslot_edit(data) {
    return request({
        url: '/v1/slot/edit',
        method: 'post',
        data
    })
}
//状态变更
export function sspslot_upflag(params) {
    return request({
        url: '/v1/slot/flag',
        method: 'get',
        params
    })
}
//删除
export function sspslot_stats(params) {
    return request({
        url: '/v1/slot/stats',
        method: 'get',
        params
    })
}
